<template>
	<view>
		<swiper :style="{ height: height }" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item v-for="(item, index) in imageList" :key="index">
				<view class="swiper-item">
					<image :src="item" mode="" :style="{ width: '100%', height: height }"></image>
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script setup>
	import {
		defineProps
	} from 'vue'


	defineProps(['imageList', "height"])
</script>


<style>

</style>